package cleandata

import (
	"context"
	"gitee.com/hexug/kube-sync/apps/resource"
)

type Server interface {
	CleanDeployment(ctx context.Context, req *CleanDeploymentRequest) (*CleanDeploymentResponse, error)
	//CleanStatefulSet(ctx context.Context, req *CleanStatefulSetRequest) (*CleanStatefulSetResponse, error)
	//CleanDaemonSet(ctx context.Context, req *CleanDaemonSetRequest) (*CleanDaemonSetResponse, error)
	//CleanJob(ctx context.Context, req *CleanJobRequest) (*CleanJobResponse, error)
	//CleanCronJob(ctx context.Context, req *CleanCronJobRequest) (*CleanCronJobResponse, error)
	CleanWorkload(ctx context.Context, req *resource.ListWorkloadRespone) (*CleanWorkloadResponse, error)
	CleanService(ctx context.Context, req *CleanServiceRequest) (*CleanServiceResponse, error)
	CleanConfigMap(ctx context.Context, req *CleanConfigMapRequest) (*CleanConfigMapResponse, error)
	CleanRBAC(ctx context.Context, req *resource.FromWorkloadGetRBACResponse) (*CleanRBACResponse, error)
	CleanPvPvc(ctx context.Context, req *resource.FromWorkloadGetPVPVCResponse) (*CleanPvPvcResponse, error)
	CleanSecret(ctx context.Context, req *resource.FromWorkloadGetSecretResponse) (*CleanSecretResponse, error)
}
